#ifndef HASHNODE_CPP
#define HASHNODE_CPP_

#include "Hashnode.h"

Hashnode::Hashnode()
{
  word = NULL;
  count = 0;
  next = nil;
  isempty = true;
};

Hashnode::Hashnode(char* _word)
{
  word = _word;
  count = 1;
  next = nil;
  isempty = false;
};

Hashnode::~Hashnode()
{
};

int Hashnode::get_count() const
{
  return count;
};

Hashnode* Hashnode::get_next() const
{
  return next;
};

char* Hashnode::get_word() const
{
  return word;
};

void Hashnode::set_count(int _count)
{
  count = _count;
};

void Hashnode::set_next(Hashnode* _next)
{
  next = _next;
};

#endif
